home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-11-15 | 2.7 KB | 116 lines | [TEXT/MPS ] |
- include "SetupFunction";
-
- #include "InstallerTypes.r"
-
-
- /************************** Target File Spec. resources **********************************/
- // target file spec for TeachText application
- resource 'intf' (10000) {
- format1 {
- noSearchForFile, // use default search path
-
- TypeCrMustMatch, // If this is set to TypeCrMustMatch
- // then a file with a different type
- // and creator than those specified
- // below will not be replaced.
- // If this is set to TypeCrNeedNotMatch
- // then type and creator of an existing
- // target file are ignored.
-
- // The Type and Creator fields will be used to set the
- // file's Type and Creator when a new file is created.
- 'APPL', // TYPE for new file
- 'ttxt', // CREATOR for new file
-
- 0, // finder attribute flags
- // filled by ScriptCheck is value is 0
-
- 1, // creation date for new file
- 1, // modification date for new file
- // NOTE: DATE values are filled
- // by ScriptCheck if the value is 1
-
- 0, // search proc ID ( 'insp' ), none used
-
- "folder-user:TeachText"
- }
- };
-
- /************************** Source File Spec. resources **********************************/
- resource 'infs' (20000) {
- 'APPL',
- 'ttxt',
- 0x1,
- noSearchForFile,
- TypeCrMustMatch,
- "Tidbits:TeachText"
- };
-
- /************************** File Atom resource **********************************/
- resource 'infa' (10000) {
- format1 {
- deleteWhenRemoving,
- deleteWhenInstalling,
- copy,
- dontIgnoreLockedFile,
- dontSetFileLocked,
- useVersProcToCompare,
- srcNeedExist,
- rsrcForkInRsrcFork,
- leaveAloneIfNewer,
- updateExisting,
- copyIfNewOrUpdate,
- rsrcFork,
- dataFork,
- 0,
- 0,
- 10000,
- { 20000, 0, 0
- },
- 0x0,
- 0,
- 0,
- ""
- }
- };
-
- /************************** Package resource **********************************/
- resource 'inpk' (20037) {
- format0 {
- showsOnCustom,
- notRemovable,
- dontForceRestart,
- 0,
- 0,
- "TeachText",
- {
- 'infa', 10000,
- }
- }
- };
-
- /************************** Preference resource **********************************/
- resource 'inpr' (300) {
- format0 {
- useFolderTargetMode, // Tells the Installer which interface to use,
- // either disk based or folder based
-
- dontAllowUserToSetSystemDisk, // Restricts user from changing System Disk
- showSelectedSizeInCustom,
- setupFunctionSupplied, // Tells Installer to call Setup Function
- dontAllowCleanInstall,
- dontAllowServerAsTarget,
- 'infn', // Setup Function code resource type
- 147, // Setup Function code resource ID
- { /* array helpPagelist: 2 elements */
- /* [1] */ 301, 311, 301, 311,
- /* [2] */ 302, 312, 302, 312
- },
- "Demo App Folder" // Default Target Folder name
- }
- };
-
-
-
-
-